package com.qys.livesMall.shop.controller.sys;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qys.livesMall.common.result.R;
import com.qys.livesMall.framework.view.BaseQuery;
import com.qys.livesMall.shop.modal.entity.SysOperateReportForms;
import com.qys.livesMall.shop.service.SysOperateReportFormsService;
import io.swagger.v3.oas.annotations.Operation;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 报表管理-运营报表 前端控制器
 * </p>
 *
 * @author 
 * @since 2023-12-08
 */
@RestController
@RequestMapping("/sys/operateReportForms")
public class SysOperateReportFormsController {

    @Resource
    private SysOperateReportFormsService sysOperateReportFormsService;

    @Operation(summary = "报表管理-运营报表 列表")
    @PostMapping("/page")
    public R<Page<SysOperateReportForms>> page(@RequestBody BaseQuery baseQuery){
       return R.ok(sysOperateReportFormsService.page(baseQuery));
    }
}
